<template>
  <div id="app" style="min-height: 100%">
    <div v-if="$route.meta.keepAlive" style="display: flex;min-height: 100vh" class="flex-column">
      <router-view style="flex: 1 1 auto"/>
    </div>
    <div v-else>
      <router-view/>
    </div>
  </div>
</template>

<script>
export default {
  name: 'app',
  data () {
    return {
      text: ''
    }
  },
  created () {
    const loadingPage = document.getElementById('Loading')
    if (loadingPage) {
      document.body.removeChild(loadingPage)
    }
  }
}
</script>

<style lang="scss">

#app {

}
</style>
